package com.zt.location.modules.base.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.zt.location.common.utils.SysCache;
import com.zt.location.modules.base.dao.RfidinfoDao;
import com.zt.location.modules.base.entity.RfidinfoEntity;
import com.zt.location.modules.base.service.RfidinfoService;



@Service("rfidinfoService")
public class RfidinfoServiceImpl implements RfidinfoService {
	@Autowired
	private RfidinfoDao rfidinfoDao;
	
	@Override
	public RfidinfoEntity queryObject(Integer id){
		return rfidinfoDao.queryObject(id);
	}
	
	@Override
	public List<RfidinfoEntity> queryList(Map<String, Object> map){
		return rfidinfoDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return rfidinfoDao.queryTotal(map);
	}
	
	@Override
	public void save(RfidinfoEntity rfidinfo){
		rfidinfoDao.save(rfidinfo);
	}
	
	@Override
	public void update(RfidinfoEntity rfidinfo){
		rfidinfoDao.update(rfidinfo);
	}
	
	@Override
	public void delete(Integer id){
		rfidinfoDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		rfidinfoDao.deleteBatch(ids);
	}
	
}
